Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix($compile):remove controllerAs requirement #15106

Closed

Conversation

austinoneil
Copy link
Contributor

@austinoneil austinoneil commented Sep 8, 2016

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Bug fix

What is the current behavior? (You can also link to an open issue here)

Binding a directive to a controller without a controllerAs property throws an error unnecessarily.

What is the new behavior (if this is a feature change)?

Binding a directive to a controller without a controllerAs property does not throw an error.

Does this PR introduce a breaking change?

no

Please check if the PR fulfills these requirements

Other information:

Remove the controllerAs requirement when binding a directive to a
controller

Remove the controllerAs requirement when binding a directive to a
controller
@austinoneil
Copy link
Contributor Author

#15088

@gkalpak
Copy link
Member

gkalpak commented Sep 8, 2016

I didn't look at the tests, but there is more to be done to ensure the feature works.
Removing the error is not enough. (Travis seems to agree with me.)

@gkalpak
Copy link
Member

gkalpak commented Sep 8, 2016

Closing in favor of #15110 (which is more complete).

@austinoneil, btw, it is a good idea to comment on an issue when you start working on it, so we can coordinate better and avoid duplication of effort.

@gkalpak gkalpak closed this Sep 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants